package com.homegoods.goods.model;

import com.homegoods.goods.item.ClassifyItem;
import com.kedll.library.adapter.MultiTypeAdapter;
import com.kedll.library.mvp.BaseModel;


/**
 * @author QiQi
 */
public class ClassifyModel extends BaseModel<ClassifyItem> {

    /**
     * 图片
     */
    private String recommendPath;
    /**
     * 商品名称
     */
    private String recommendShopName;
    /**
     * 商品价格
     */
    private String recommendShopMoney;
    /**
     * 已购买人数
     */
    private String recommendShopPeople;

    /**
     * 是否显示爆款
     */
    private int recommendFire;

    /**
     * 可选颜色数
     */
    private int recommendColor;


    public String getRecommendPath() {
        return recommendPath == null ? "" : recommendPath;
    }

    public void setRecommendPath(String recommendPath) {
        this.recommendPath = recommendPath;
    }

    public String getRecommendShopName() {
        return recommendShopName == null ? "" : recommendShopName;
    }

    public void setRecommendShopName(String recommendShopName) {
        this.recommendShopName = recommendShopName;
    }

    public String getRecommendShopMoney() {
        return recommendShopMoney == null ? "" : recommendShopMoney;
    }

    public void setRecommendShopMoney(String recommendShopMoney) {
        this.recommendShopMoney = recommendShopMoney;
    }

    public String getRecommendShopPeople() {
        return recommendShopPeople == null ? "" : recommendShopPeople;
    }

    public void setRecommendShopPeople(String recommendShopPeople) {
        this.recommendShopPeople = recommendShopPeople;
    }

    public int getRecommendFire() {
        return recommendFire;
    }

    public void setRecommendFire(int recommendFire) {
        this.recommendFire = recommendFire;
    }

    public int getRecommendColor() {
        return recommendColor;
    }

    public void setRecommendColor(int recommendColor) {
        this.recommendColor = recommendColor;
    }

    @Override
    public ClassifyItem createItem(MultiTypeAdapter adapter) {
        return new ClassifyItem(this, adapter);
    }
}
